package Cellphone;

public class Jarphone extends PhoneDecorator{
    public Jarphone(Cellphone phone){
        super(phone);
    }
    public void receiveCall(){
        this.setJar();
        super.receiveCall();
    }
    public void setJar(){
        System.out.println("产生振动");
    }
}
